package com.suyi.service;

import com.suyi.domain.TStorage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 贺袁晨
 * @since 2021-04-28
 */
public interface TStorageService {
    //扣减库存
    void decrease(@RequestParam("productId") Long productId,@RequestParam("count") Integer count);
}
